package com.kangye.learnstudent.mapper;

import com.kangye.learnstudent.entity.Paper;
import com.kangye.learnstudent.entity.StudentPaper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: learndeduo
 * @description: 试卷接口--中间表 接口
 * @author: stl
 * @create: 2021-05-17 09:21
 **/
@Repository
public interface PaperMapper {
    //根据试卷id查询题目id
    List<Paper> selPaper(Integer paperStudentPaperId);
    //提交修改学生的答案是否正确 和学生的答案
    Integer updPaper(Paper paper);
}